package com.wyhello.tube4.pojo;

import java.util.HashSet;
import java.util.Set;

public class Tube {
	//主键ID
	private int id;		
	//管的编号
	private String number;
	//管的名称
	private String name;
	//所属管排
	private Reside reside;
	//图纸
	private Draw draw;
	//位置
	private Set<Position> positions = new HashSet<Position>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Reside getReside() {
		return reside;
	}
	public void setReside(Reside reside) {
		this.reside = reside;
	}
	public Draw getDraw() {
		return draw;
	}
	public void setDraw(Draw draw) {
		this.draw = draw;
	}
	public Set<Position> getPositions() {
		return positions;
	}
	public void setPositions(Set<Position> positions) {
		this.positions = positions;
	}
}
